<!--
 * @Author: your name
 * @Date: 2020-03-05 22:13:38
 * @LastEditTime: 2020-03-06 11:03:31
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue-components\demo\src\components\text.vue
 -->

<template>
  <div class="container">
    <div class="ourter-box">
      <div class="left-box">
        <div class="nnnitem">
          <div class="title">title</div>
        </div>
      </div>
      <div class="right-box">
        <div class="nnnitem">
          <div class="content">content</div>
          <div class="content">content</div>
          <div class="content">content</div>
          <div class="content">content</div>
          <div class="content">
              content
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.ourter-box {
    display: flex;
    // overflow: auto;

  .left-box {
    width: 250px;
    border: 1px solid purple;
    display: flex;
    justify-self: center;
    align-items: center;
    .title {
      height: 40px;
      min-width: 200px;
      // border: 1px solid yellow;
      margin: 10px;
    }
  }
  .right-box {
    // border: 1px solid blue;
    .nnnitem {
      height: 100%;
      border: 1px solid red;

      display: flex;
      overflow: auto;
      flex-direction: column;
      justify-content: center;
      align-items:flex-start;
      .title {
        height: 40px;
        min-width: 200px;
        // border: 1px solid yellow;
        margin: 10px;
      }
      .content {
        margin: 10px;
        min-width: 600px;      
        border: 1px solid blue;
      }
      .container{
          width: 100%;
          height: 100%;
      }
    }
    
  }
}

</style>